<%@page import="java.util.HashMap"%>
<%@ page import="java.io.PrintWriter"%>
<%@ page import="org.json.simple.JSONObject"%>
<%@ page import="org.json.simple.JSONValue"%>
<%
	request.setCharacterEncoding("utf8");
	response.setContentType("application/json");
	PrintWriter outt = response.getWriter();
	JSONObject jsonObj = (JSONObject) JSONValue.parse(request
			.getParameter("para"));
	String username = jsonObj.get("user").toString();
	String password = jsonObj.get("pass").toString();
	HashMap<String, Boolean> tmp = new HashMap<String, Boolean>();

	tmp.put("res", true);
	JSONObject obj = new JSONObject(tmp);
	out.print(obj);
%>